<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>omi import</title>
    <style>
        :root {
            --primary: #4F46E5;
            --primary-light: #6366F1;
            --secondary: #10B981;
            --background: #F9FAFB;
            --text: #1F2937;
            --text-light: #6B7280;
            --border: #E5E7EB;
            --error: #EF4444;
            --success: #10B981;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--background);
            color: var(--text);
            line-height: 1.5;
            padding-bottom: 2rem;
        }
        
        .container {
            max-width: 100%;
            padding: 1rem;
            margin: 0 auto;
        }
        
        .header {
            text-align: center;
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--border);
            margin-bottom: 1.5rem;
        }
        
        .logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }
        
        .logo {
            height: 3rem;
            width: auto;
        }
        
        h1 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }
        
        h2 {
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }
        
        p {
            margin-bottom: 1rem;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.375rem;
            text-decoration: none;
            font-weight: 500;
            cursor: pointer;
            border: none;
            transition: background-color 0.2s;
            text-align: center;
            width: 100%;
            max-width: 300px;
            margin: 0.5rem 0;
        }
        
        .btn:hover, .btn:focus {
            background-color: var(--primary-light);
        }
        
        .btn-secondary {
            background-color: var(--secondary);
        }
        
        .card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .form-group {
            margin-bottom: 1rem;
        }
        
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        input, select, textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 0.375rem;
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .error-message {
            color: var(--error);
            margin-top: 0.5rem;
        }
        
        .success-message {
            color: var(--success);
            margin-top: 0.5rem;
        }
        
        .memory-list {
            list-style: none;
            margin-top: 1rem;
        }
        
        .memory-item {
            padding: 1rem;
            border: 1px solid var(--border);
            border-radius: 0.375rem;
            margin-bottom: 0.5rem;
            background-color: white;
        }
        
        .memory-item.pending {
            border-left: 3px solid var(--primary);
        }
        
        .memory-item.completed {
            border-left: 3px solid var(--success);
        }
        
        .memory-item.failed {
            border-left: 3px solid var(--error);
        }
        
        .status-badge {
            display: inline-block;
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
            border-radius: 1rem;
            margin-right: 0.5rem;
        }
        
        .status-badge.pending {
            background-color: var(--primary-light);
            color: white;
        }
        
        .status-badge.completed {
            background-color: var(--success);
            color: white;
        }
        
        .status-badge.failed {
            background-color: var(--error);
            color: white;
        }
        
        .loading {
            display: none;
            text-align: center;
            margin: 1rem 0;
        }
        
        .loading.active {
            display: block;
        }
        
        @media (min-width: 640px) {
            .container {
                max-width: 640px;
            }
        }
    </style>
    {% block extra_head %}{% endblock %}
</head>
<body>
    <div class="container">
        <header class="header">
            <div class="logo-container">
                <span>OMI Import</span>
            </div>
            <h1></h1>
            <p>Connect your accounts to import memories into OMI</p>
        </header>
        
        <main>
            {% block content %}{% endblock %}
        </main>
    </div>
    
    {% block scripts %}{% endblock %}
</body>
</html> 